package com.knight.concurrent.chapter11;

/**
 * @Description:
 * @author: knight
 * @Date: 2019-03-11 20:01
 */
public class BinaryObServer extends ObServer {


    public BinaryObServer(Subject subject) {
        super(subject);
    }

    @Override
    protected void update() {
        System.out.println("Binary:" + Integer.toBinaryString(this.subject.getState()));
    }
}
